<!-- Editor Begin -->
<link type="text/css" rel="stylesheet" href="/sysadm/editor/bueditor/bueditor.css" />
<script type="text/javascript">
<!--//--><![CDATA[//><!--
    BUE.templates.e1 = {
        "iconpath": "/sysadm/editor/bueditor/icons",
        "buttons": [
                    [ "Insert/edit image", "js:\nvar B = eDefBrowseButton(\'{{url controller='posts' action='uploader'}}\', \'attr_src\', \'Browse\', \'image\');\nvar form = [\n {name: \'src\', title: \'Image URL\', suffix: B},\n {name: \'width\', title: \'Width x Height\', suffix: \' x \', getnext: true, attributes: {size: 3}},\n {name: \'height\', attributes: {size: 3}},\n {name: \'alt\', title: \'Alt text\'}\n];\neDefTagDialog(\'img\', form, \'Insert/edit image\', \'OK\');\n", "image.gif", "M" ],
                    [ "Insert/edit link", "js:\nvar form = [\n {name: \'href\', title: \'Link URL\', suffix: B},\n {name: \'html\', title: \'Link text\'},\n {name: \'title\', title: \'Link title\'}\n];\neDefTagDialog(\'a\', form, \'Insert/edit link\', \'OK\');\n", "link.gif", "L" ],
                    [ "tpl:", "", "separator.png", "" ],
                    [ "Bold", "\x3cstrong\x3e%TEXT%\x3c/strong\x3e", "b.gif", "B" ],
                    [ "Italic", "js: eDefTagger(\'em\');", "i.gif", "I" ],
                    [ "Underline", "js: eDefTagger(\'u\');", "u.gif", "U" ],
                    [ "Headers", "js: eDefTagChooser([\n [\'h1\', \'Header1\'],\n [\'h2\', \'Header2\'],\n [\'h3\', \'Header3\'],\n [\'h4\', \'Header4\']\n], true, \'li\', \'ul\', \'slideDown\');", "header.gif", "H" ],
                    [ "tpl:", "", "separator.png", "" ],
                    [ "Center", "<p style=\"text-align:center\">%TEXT%</p>", "ac.gif", "AC" ],
                    [ "Left", "<p style=\"text-align:left\">%TEXT%</p>", "al.gif", "AL" ],
                    [ "Right", "<p style=\"text-align:right\">%TEXT%</p>", "ar.gif", "AR" ],
                    [ "tpl:", "", "separator.png", "" ],
                    [ "Paragraph", "js: eDefTagger(\'p');", "p.gif", "P" ],
                    [ "Blockquote", "js: eDefTagger(\'blockqoute\');", "bq.gif", "Q" ],
                    [ "Ordered list. Converts selected lines to a numbered list.", "js: eDefTagLines(\'\x3col\x3e\\n\', \' \x3cli\x3e\', \'\x3c/li\x3e\', \'\\n\x3c/ol\x3e\');", "ol.gif", "O" ],
                    [ "Unordered list. Converts selected lines to a bulleted list.", "js: eDefTagLines(\'\x3cul\x3e\\n\', \' \x3cli\x3e\', \'\x3c/li\x3e\', \'\\n\x3c/ul\x3e\');", "ul.gif", "U" ],
                    [ "tpl:", "", "separator.png", "" ],
                    [ "More", "\x3c!--more--\x3e", "more.gif", "Mn" ],
                    [ "Preview", "js: eDefPreview();", "preview.gif", "P" ],
                    [ "Help", "js: eDefHelp(\'slideDown\');", "help.gif", "F" ]
                ]
        };
//--><!]]>
</script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
BUE.preset.push(['{{$editorName}}','e1']);
//--><!]]>
</script>
<script type="text/javascript">
function insertTo(im) {
    $("input[name='attr_src']").val(im);
}
</script>
<!-- Editor End -->
